<html>
<head>
</head>
<body>
#{form @EmployeeArea.createEmployeeHandler()}
 
    #{ifErrors}
    
    #{list items:errors, as:'error' }
        <p class="error">
            ${error}
        </p>
    #{/list}
    #{/ifErrors}
 
 
    <p>
        <label for="username">*Username: </label>
        <input type="text" name="username" id="username" value="${params.username}"/>
    </p>
    <p>
        <label for="password">*Password: </label>
        <input type="text" name="password" id="password" value="${params.password}"/>
    </p>
    <p>
        <label for="firstname">*First name: </label>
        <input type="text" name="firstname" id="firstname" value="${params.firstname}"/>
    </p>
    <p>
        <label for="lastname">*Last name: </label>
        <input type="text" name="lastname" id="lastname" value="${params.lastname}"/>
    </p>

    <p>
        <input type="submit" value="Create Employee" />
    </p>
    
    <p>
    * Required
    </p>
   
    
#{/form}
